import numpy as np
import matplotlib.pyplot as plt

x=np.arange(100)

y=np.arange(100)

x,y=np.meshgrid(x,y)

img=x*y
axis=[-5.2,-15.1,-1.3,-6.4]
axis1=[-8,-10,-3,-5]
plt.imshow(img,extent=axis,origin='upper')
plt.imshow(img,extent=axis1,origin='upper')
plt.xlim(axis[:2])
plt.ylim(axis[-2:])

plt.show()